package com.qymerge.manage.base.service;

import com.qymerge.manage.base.dto.TempMsgDto;
import com.qymerge.manage.base.dto.export.TempMsgExportDTO;
import com.qymerge.manage.base.ro.TempMsgRO;
import com.qymerge.manage.core.bean.ActionResultRO;
import com.qymerge.manage.core.bean.DataTableRO;
import com.qymerge.manage.core.bean.PageRequest;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 *<p>Title: ITempMsgService</p>
 *<p>Description: H5预约</p>
 *
 *@Author cong.zhang
 *@Version 1.0.0
 *@Date 2020/12/19
 *@Time 18:18
 */
public interface ITempMsgService {

    DataTableRO list(TempMsgDto ro, PageRequest pageRequest);

    TempMsgRO detail(Long id);

    ActionResultRO save(TempMsgRO ro);

    ActionResultRO delete(Long[] ids);

    ActionResultRO importData(MultipartFile uploadify, int flag);

    List<TempMsgExportDTO> exportData(TempMsgDto ro);

    ActionResultRO updateIsuse(long id, int status, String desc);

}
